export default {
  // 域名根目录
  getDomain() {
    let url = document.location.href
    if (url.split("/")[2] === 'www.07ge.com') {
      let domain = 'https://' + url.split("/")[2]
      return domain
    } else {
      let domain = 'http://' + url.split("/")[2]
      return domain
    }
  }
}